package com.qcby.chatservice.web;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;


/**
 * 聊天服务启动类
 *
 * @author cong.zhen
 * @date 2023/01/04
 */
@SpringBootApplication
@Slf4j
@MapperScan({"com.qcby.chatservice.mapper.**"})
@ComponentScan(basePackages ={"com.qcby.chatservice" })
public class ChatServiceWebStart {
    public static void main(String[] args) {


        SpringApplication.run(ChatServiceWebStart.class, args);
        log.error("chatService-web启动成功--------");
    }
}
